import java.util.ArrayList;
import java.util.List;


public class Ogrenciler {
	
	private List<Ogrenci> students = new ArrayList<Ogrenci>();
	private String ad;
	private String soyad;
	
	public void addStudents() {
		students.add(new Ogrenci(getAd(),getSoyad()));

	}

	public void setStudents(List<Ogrenci> students) {
		this.students = students;
	}

	public List<Ogrenci> getStudents() {
		return students;
	}

	public void setAd(String ad) {
		this.ad = ad;
	}

	public String getAd() {
		return ad;
	}

	public void setSoyad(String soyad) {
		this.soyad = soyad;
	}

	public String getSoyad() {
		return soyad;
	}
	
	

}
